package com.eastedu.client.assignment;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * The interface Resource assignment client.
 *
 * @author kuN
 */
@FeignClient(name = "resource-assignment-service", path = "/resource-assignment-service")
public interface ResourceAssignmentClient {
    /**
     * Change text order.
     *
     * @param id            the id
     * @param textOrderType the text order type
     */
    @PostMapping("/api/test/text-order")
    void changeTextOrder(@RequestParam("id") Long id, @RequestParam("textOrderType") String textOrderType);
}
